<?php
declare(strict_types=1);
/**
 * @project: 兔兔找图微信小程序
 * @author: kert
 * @date: 2023/5/16
 * @link: https://www.tutudati.com/
 * @site: 微信搜索-兔兔找图
 */
namespace App\Logic\User\Repository\Article;

use App\Logic\User\Repository\UserRepositoryInterface;
use App\Models\User\Article\ArticleCate;
use Closure;

class ArticleCateRepository implements UserRepositoryInterface
{

    public function repositorySelect(Closure $closure, int $perSize, array $searchFields = []): array
    {
        return [];
    }

    public function repositoryAllSelect(Closure $closure, array $searchFields = []): array
    {
        return ArticleCate::query()->where($closure)->get($searchFields)->toArray();
    }

    public function repositoryCreate(array $insertInfo): bool
    {
        return false;
    }

    public function repositoryFind(Closure $closure, array $searchFields = []): array
    {
        return [];
    }

    public function repositoryUpdate(array $updateWhere, array $updateInfo): int
    {
        return 0;
    }

    public function repositoryWhereInDelete(array $deleteWhere, string $field): int
    {
        return 0;
    }

    public function repositoryDelete(array $deleteWhere): int
    {
        return 0;
    }
}
